package Library;
import java.io.Serializable;
import java.util.ArrayList;

/**
 * 
 */

/**
 * @author mishel hen
 *
 */
/**
 * This class is the Search
 */
public class Search implements Serializable{
	/**
	 * type of searc
	 */
	private int searchFlg;	// type of search
	/**
	 * text to search
	 */
	private String text;	// text to search
	/**
	 * list of the founded books
	 */
	public ArrayList<Books> booksList = new ArrayList<Books>();	// list of the founded books


	/**
     * Constructs an instance of Search.
	 */
	public Search() {
		// TODO Auto-generated constructor stub
	}


	/**
	 * @return the searchFlg
	 */
	public int getSearchFlg() {
		return searchFlg;
	}


	/**
	 * @param searchFlg the searchFlg to set
	 */
	public void setSearchFlg(int searchFlg) {
		this.searchFlg = searchFlg;
	}


	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}


	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}


	/**
	 * @return the booksList
	 */
	public ArrayList<Books> getBooksList() {
		return booksList;
	}


	/**
	 * @param booksList the booksList to set
	 */
	public void setBooksList(ArrayList<Books> booksList) {
		this.booksList = booksList;
	}

}
